home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
SCHEME
/
VSCM
/
doc
/
INSTALL
< prev
next >
Wrap
Text File
|
1994-08-05
|
2KB
|
36 lines
To compile and install VSCM on a Unix-based system
0. unpack the software into an empty directory
(you've probably already done so, since you are reading this file)
1. edit Makefile
-- choose options as explained at the beginning of Makefile
-- choose the right definition of NORETURN (depending on whether you
using gcc, and if so, which version of gcc)
-- set value of DDP
a. If you do not intend to install the vscm executable into
/usr/local/bin/scheme but somewhere else, say /x/y/z/w/vscm,
then you should add the option
-DDEFAULT_DUMP_PREFIX='"\#!/x/y/z/w/vscm -b"'
to the definition of DDP. If you fail to do that the system will
STILL work CORRECTly, but memory dumps will not be ``executable''.
!!!! This will only work if you use GNU make. Other make programs
!!!! treat the # as the beginning of a comment, even though it is
!!!! guarded by the \ escape.
b. If you want vscm to load its (default) initialization file from
/x/y/z/w/vscm-bootfile, then you should add the option
-DDEFAULT_BOOTFILE='"/x/y/z/w/vscm-bootfile"'
to the definition of DDP. The default is .scheme-boot, which
is a relative pathname. If you fail to give the correct option
here, then the system will NOT work CORRECTly unless you provide
an explicit ``-b'' option every time you run vscm.
2. run make (or better: GNU make if necessary (see above))
3. move the executable ``scheme'' to its dedicated place
4. move the default boot image ``.scheme-boot'' to its dedicated place